-- GENERATED SPELL FOR [The Iron Watcher] --


function spell0_30142(pUnit, Event) --@Thundering Stomp,Self--
pUnit:FullCastSpellOnTarget(60925,pUnit)
pUnit:RegisterEvent('Sorts_30142', 1000, 1)
end

function Sorts_30142(pUnit, Event)
local choix_sorts_30142 = math.random(0, 0)
if choix_sorts_30142 == 0 then
pUnit:RegisterEvent('spell0_30142', 1, 1)
end
end

function mob30142_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30142', math.random(1500, 3000), 1)
end

function mob30142_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30142_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30142_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30142, 1, 'mob30142_Action')
RegisterUnitEvent(30142, 2, 'mob30142_Leave')
RegisterUnitEvent(30142, 3, 'mob30142_Kill')
RegisterUnitEvent(30142, 4, 'mob30142_Die')
